//
//  HBHotCointChartModel.h
//  FindClass
//
//  Created by tianlong on 2024/12/3.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


/*数据示例
 {
     "pointList": [
         {
             "originalValue": 20,
             "popupDate": "01/01 20:33",
             "popupContent": "互动次数: 5889"
         },
         {
             "originalValue": 40,
             "popupDate": "01/02 19:19",
             "popupContent": "互动次数: 448789k"
         },
         {
             "originalValue": 55,
             "popupDate": "01/03 01:28",
             "popupContent": "互动次数: 6789M"
         }
     ],
     "xList": [
         "01/01",
         "01/02",
         "01/03"
     ]
 }
 xTextWidth 与 xTextHeight 在xml中进行设置
 */
@interface HBHotCointChartItemModel : NSObject

/// 折线点的值
@property (nonatomic, strong) NSNumber *originalValue;
/// 时间字符串
@property (nonatomic, copy) NSString *popupDate;
/// 内容
@property (nonatomic, copy) NSString *popupContent;

@end

@interface HBHotCointChartModel : NSObject

/// 折线图画点需要的数据的集合
@property (nonatomic, strong) NSArray<HBHotCointChartItemModel*> *pointList;
/// 横轴上要显示的内容集合
@property (nonatomic, strong) NSArray<NSString*> *xList;

/// x轴的显示的内容的宽度，由XML提供
@property (nonatomic, strong) NSNumber *xTextWidth;
/// x轴的显示的内容的高度，由XML提供
@property (nonatomic, strong) NSNumber *xTextHeight;

@end


NS_ASSUME_NONNULL_END
